import {defineStore } from 'pinia'


export default defineStore('user',{
    state: () => {
        return {
           uid:'2222',
           userInfo:{}
        }
      },

      actions: {
       
        changeUserInfo(val) {
      
          this.userInfo = val
        },
        changeUserId(val) {
      
          this.uid = val
        },
      },
})